package com.liachen.stock.entity;

import com.github.liaochong.myexcel.core.annotation.ExcelColumn;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 估值表
 *
 * @author d85v8h9 chen.liang
 * @date 2021/4/6 14:41
 * @since V1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ValuationReport {
    /**
     * 股票代码
     */
    @ExcelColumn(title = "股票代码", style={"title->background-color: #e0927f; border-bottom: 1px solid #d9d9d9; font-weight: bold; text-align: center;","odd->background-color: #f2f2f2; border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;", "even->border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;"})
    private String code;
    /**
     * 股票名称
     */
    @ExcelColumn(title = "股票名称", style={"title->background-color: #e0927f; border-bottom: 1px solid #d9d9d9; font-weight: bold; text-align: center;","odd->background-color: #f2f2f2; border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;", "even->border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;"})
    private String name;
    /**
     * 预估净利润
     */
    private Double preNetProfit;
    /**
     * 展示净利润
     */
    @ExcelColumn(title = "预估净利润", style={"title->background-color: #e0927f; border-bottom: 1px solid #d9d9d9; font-weight: bold; text-align: center;","odd->background-color: #f2f2f2; border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;", "even->border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;"})
    private String showNetProfit;
    /**
     * 期望PE
     */
    @ExcelColumn(title = "期望PE", style={"title->background-color: #e0927f; border-bottom: 1px solid #d9d9d9; font-weight: bold; text-align: center;","odd->background-color: #f2f2f2; border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;", "even->border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;"})
    private Double prePe;
    /**
     * 估值（preNetProfit * prePe）
     */
    @ExcelColumn(title = "三年后估值", style={"title->background-color: #e0927f; border-bottom: 1px solid #d9d9d9; font-weight: bold; text-align: center;","odd->background-color: #f2f2f2; border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;", "even->border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;"})
    private Long preValuation;
    /**
     * 理想买点（preValuation/2）
     */
    @ExcelColumn(title = "理想买点", style={"title->background-color: #e0927f; border-bottom: 1px solid #d9d9d9; font-weight: bold; text-align: center;","odd->background-color: #f2f2f2; border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;", "even->border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;"})
    private Integer buyPoint;
    /**
     * 当前市值
     */
    @ExcelColumn(title = "当前市值", style={"title->background-color: #e0927f; border-bottom: 1px solid #d9d9d9; font-weight: bold; text-align: center;","odd->background-color: #f2f2f2; border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;", "even->border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;"})
    private Double marketValue;
    /**
     * 据理想买点位置
     */
    private Long locationBuyPoint;
    /**
     * 展示据理想买点位置
     */
    @ExcelColumn(title = "据理想买点位置", style={"title->background-color: #e0927f; border-bottom: 1px solid #d9d9d9; font-weight: bold; text-align: center;","odd->background-color: #f2f2f2; border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;", "even->border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;"})
    private String showLocationBuyPoint;
    /**
     * 卖点（preValuation * 1.1）
     */
    @ExcelColumn(title = "卖点", style={"title->background-color: #e0927f; border-bottom: 1px solid #d9d9d9; font-weight: bold; text-align: center;","odd->background-color: #f2f2f2; border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;", "even->border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;"})
    private Double sellPoint;
}
